package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * File entity. @author MyEclipse Persistence Tools
 */

public class File implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -6734272915608232946L;
	
	// Fields
	private Integer fileId;
	private User user;
	private String fileSha1core;
	private String pictureSrc;
	private String filePostfix;
	private Short fileType;
	private Timestamp uploadTime;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set quotefiles = new HashSet(0);

	// Constructors

	/** default constructor */
	public File() {
	}

	/** minimal constructor */
	public File(User user, String fileSha1core, String pictureSrc,
			String filePostfix, Short fileType, Timestamp uploadTime,
			Boolean deleteTag) {
		this.user = user;
		this.fileSha1core = fileSha1core;
		this.pictureSrc = pictureSrc;
		this.filePostfix = filePostfix;
		this.fileType = fileType;
		this.uploadTime = uploadTime;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public File(User user, String fileSha1core, String pictureSrc,
			String filePostfix, Short fileType, Timestamp uploadTime,
			Timestamp lastUpdateTime, Boolean deleteTag, String expandBar1,
			String expandBar2, Set quotefiles) {
		this.user = user;
		this.fileSha1core = fileSha1core;
		this.pictureSrc = pictureSrc;
		this.filePostfix = filePostfix;
		this.fileType = fileType;
		this.uploadTime = uploadTime;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.quotefiles = quotefiles;
	}

	// Property accessors

	public Integer getFileId() {
		return this.fileId;
	}

	public void setFileId(Integer fileId) {
		this.fileId = fileId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getFileSha1core() {
		return this.fileSha1core;
	}

	public void setFileSha1core(String fileSha1core) {
		this.fileSha1core = fileSha1core;
	}

	public String getPictureSrc() {
		return this.pictureSrc;
	}

	public void setPictureSrc(String pictureSrc) {
		this.pictureSrc = pictureSrc;
	}

	public String getFilePostfix() {
		return this.filePostfix;
	}

	public void setFilePostfix(String filePostfix) {
		this.filePostfix = filePostfix;
	}

	public Short getFileType() {
		return this.fileType;
	}

	public void setFileType(Short fileType) {
		this.fileType = fileType;
	}

	public Timestamp getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Timestamp uploadTime) {
		this.uploadTime = uploadTime;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getQuotefiles() {
		return this.quotefiles;
	}

	public void setQuotefiles(Set quotefiles) {
		this.quotefiles = quotefiles;
	}

}